import { ElLoading } from "element-plus";
let loadingInstance: any;
export const startLoading = () => {
  loadingInstance = ElLoading.service({
    lock: true,
    text: "Loading",
    background: "rgba(0, 0, 0, 0.7)",
  });
};
export const endLoading = () => {
  loadingInstance.close();
};
